from digitaldiary.main.models import Note, Tag
from django.contrib import admin

class NoteAdmin(admin.ModelAdmin):
    list_display=('date_added',)

class TagAdmin(admin.ModelAdmin):
    list_display=('name','type')
    
admin.site.register(Note,NoteAdmin)
admin.site.register(Tag,TagAdmin)